package cn.chinaunicom.sdsi.gacx.projApply.service;

import cn.chinaunicom.sdsi.gacx.projApply.entity.TravelApplyEntity;
import cn.chinaunicom.sdsi.gacx.projApply.entity.TravelApplyFileEntity;

/**
 * @author xp
 * 2012-03-12
 */
public interface projApplyService {

	/**
	 * 添加旅游项目审批信息
	 * @author xp
	 * @param travelApplyEntity
	 * @return
	 * 2018-03-14
	 */
	public int addTravel(TravelApplyEntity travelApplyEntity);
	
	/**
	 * 根据projId和oldFileName手动删除附件信息
	 * @param projId
	 * @param oldFileName
	 * @return
	 * 2018-03-14
	 */
	public int deleteTravelFileByHand(String projId,String oldFileName);
	/**
	 * 根据projId删除附件表的信息
	 * @author xp
	 * @param projId
	 * 2018-03-14
	 */
	public void deleteTravelFile(String projId);
	
	/**添加文件信息
	 * @author xp
	 * @param travelApplyFileEntity
	 * 2018-03-14
	 */
	public void addTravelFile(TravelApplyFileEntity travelApplyFileEntity);
}
